﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Forbidden_Island
{
    public partial class Winning : Forbidden_Island.BaseHelpMenu
    {
        public Winning()
        {
            InitializeComponent();
        }

        private void Winning_Load(object sender, EventArgs e)
        {
            setTitle("Winning the Game!");
            setLabelText("Winning the Game!\n\n" +
                "Players win when they meet the following conditions:\n\n" +
                "  1) They have claimed all four treasures from the island.\n\n" +
                "  2) All four players are standing in the Freedom's Landing tile.\n\n" +
                "  3) At least one player has a helicopter lift card, to fly everyone off the island!\n\n" +
                "Good luck!");

        }

        private void btnPrevious_Click(object sender, EventArgs e)
        {
            this.Close();
            LossConditions lc = new LossConditions();
            lc.StartPosition = FormStartPosition.Manual;
            lc.Location = new Point(213, 213);
            lc.Activate();
            lc.Visible = true;
        }
    }
}
